<?php
/**
 * Created by PhpStorm.
 * User: 17274
 * Date: 2018/3/29
 * Time: 12:43
 */

namespace app\admin\controller;

use think\Controller;
use think\Config;

class Base extends Controller
{

    /*
     * 初始化
     * */
    public function _initialize(){
        //启用原生session
        session_start();
    }

    /*
     * 空操作
     * */
    public function _empty($parmas){
        return forbidden(js_css());
    }

    /*
       * 权限配置
       * child中 如若为0 代表不存在改权限模组
       * */
    public static function getAuthorityList(){
        return Config::get("acl_list.list");
    }

}